package com.mutual.assistance.task.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author chenyuxin
 * @version 1.0
 * @description 更新预发布任务
 * @date 2023/4/30 12:37
 */
@Data
@ApiModel(value="修改预发布任务", description="修改预发布任务")
public class UpdatePreTaskParamsVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "任务id")
    @NotBlank(message = "任务id不能为空")
    private String taskId;

    @ApiModelProperty(value = "任务标题")
    private String title;

    @ApiModelProperty(value = "任务描述url地址")
    private String pic;

    @ApiModelProperty(value = "任务内容")
    private String content;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "填写邮箱、qq、电话等")
    private String contactInformation;

    @ApiModelProperty(value = "联系地址")
    private String address;

    @ApiModelProperty(value = "任务开始时间")
    private LocalDateTime taskStartTime;

    @ApiModelProperty(value = "任务结束时间")
    private LocalDateTime taskEndTime;
}
